package SinglePrimeryKey;

import java.io.Serializable;
import java.sql.Timestamp;

public class Ddns implements Serializable {

	private static final long serialVersionUID = -6397696861456463849L;

	private Long channelId;
	private Long protocolId;
	private String channelName;
	private Long acquiredId;
	private Long commParamId;
	private Long tsId;
	private Long status;
	private Integer port;
	private String param;
	private Integer tryTimes;
	private Timestamp commTimeTag;
	private Integer maxCommDelay;
	private Short isInUse;
	private Long serviceId;
	private Long pri;
	private Timestamp lastSuccessTimeTag;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getChannelId() {
		return channelId;
	}

	public void setChannelId(Long channelId) {
		this.channelId = channelId;
	}

	public Long getProtocolId() {
		return protocolId;
	}

	public void setProtocolId(Long protocolId) {
		this.protocolId = protocolId;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public Long getAcquiredId() {
		return acquiredId;
	}

	public void setAcquiredId(Long acquiredId) {
		this.acquiredId = acquiredId;
	}

	public Long getCommParamId() {
		return commParamId;
	}

	public void setCommParamId(Long commParamId) {
		this.commParamId = commParamId;
	}

	public Long getTsId() {
		return tsId;
	}

	public void setTsId(Long tsId) {
		this.tsId = tsId;
	}

	public Long getStatus() {
		return status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String getParam() {
		return param;
	}

	public void setParam(String param) {
		this.param = param;
	}

	public Integer getTryTimes() {
		return tryTimes;
	}

	public void setTryTimes(Integer tryTimes) {
		this.tryTimes = tryTimes;
	}

	public Timestamp getCommTimeTag() {
		return commTimeTag;
	}

	public void setCommTimeTag(Timestamp commTimeTag) {
		this.commTimeTag = commTimeTag;
	}

	public Integer getMaxCommDelay() {
		return maxCommDelay;
	}

	public void setMaxCommDelay(Integer maxCommDelay) {
		this.maxCommDelay = maxCommDelay;
	}

	public Short getIsInUse() {
		return isInUse;
	}

	public void setIsInUse(Short isInUse) {
		this.isInUse = isInUse;
	}

	public Long getServiceId() {
		return serviceId;
	}

	public void setServiceId(Long serviceId) {
		this.serviceId = serviceId;
	}

	public Long getPri() {
		return pri;
	}

	public void setPri(Long pri) {
		this.pri = pri;
	}

	public Timestamp getLastSuccessTimeTag() {
		return lastSuccessTimeTag;
	}

	public void setLastSuccessTimeTag(Timestamp lastSuccessTimeTag) {
		this.lastSuccessTimeTag = lastSuccessTimeTag;
	}

	@Override
	public String toString() {
		return "SinglePrimeryKey.Ddns{" +
				"channelId=" + channelId +
				", protocolId=" + protocolId +
				", channelName='" + channelName + '\'' +
				", acquiredId=" + acquiredId +
				", commParamId=" + commParamId +
				", tsId=" + tsId +
				", status=" + status +
				", port=" + port +
				", param='" + param + '\'' +
				", tryTimes=" + tryTimes +
				", commTimeTag=" + commTimeTag +
				", maxCommDelay=" + maxCommDelay +
				", isInUse=" + isInUse +
				", serviceId=" + serviceId +
				", pri=" + pri +
				", lastSuccessTimeTag=" + lastSuccessTimeTag +
				'}';
	}
}